package com.xiaoshuidi.cloud.module.finance.dal.mysql.invoice;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaoshuidi.cloud.framework.mybatis.core.mapper.BaseMapperX;
import com.xiaoshuidi.cloud.module.finance.controller.admin.invoice.vo.FinanceInvoicePageReqVO;
import com.xiaoshuidi.cloud.module.finance.controller.admin.invoice.vo.FinanceInvoicePageRespVO;
import com.xiaoshuidi.cloud.module.finance.controller.admin.invoice.vo.InvoiceDetailVO;
import com.xiaoshuidi.cloud.module.finance.dal.dataobject.invoice.InvoiceDO;
import com.xiaoshuidi.cloud.module.finance.dal.dataobject.invoice.InvoiceDetailDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InvoiceDetailMapper extends BaseMapperX<InvoiceDetailDO> {

    List<InvoiceDetailVO> getOrderDetailList(@Param("invoiceId") Long invoiceId);
    List<InvoiceDetailVO> getOrderDetailListByOrderNo(@Param("invoiceId") Long invoiceId);
}
